<template>
    <div>
        <div>我是子组件</div>
        <slot :sonda="person"></slot>
    </div>
</template>

<script>
export default {
    data() {
        return {
            person: [
                {
                    name: 'sxy',
                    age: 18
                },
                {
                    name: 'pan',
                    age: 30
                }
            ]
        }
    },
}
</script>

<style scoped lang='less'></style>>